package ezxpns.types;

import ezxpns.util.*;

public class Bound<T extends Value<T>> implements Copyable<Bound<T>>
{
	// Mutable!
	private T lower,upper;
	public Bound(T lower2,T upper2)
	{
		lower=lower2.copy();
		upper=upper2.copy();
	}
	public T lower()
	{
		return lower;
	}
	public T upper()
	{
		return upper;
	}
	public Bound<T> copy()
	{
		return new Bound<T>(lower,upper);
	}
}
